import React from 'react';
import { InforBoxDom } from '../style';
function InforBox(props) {
    let {userName,verifyText,imgUrl}=props.userInfor;
    return (
    <InforBoxDom>
        <div className="userBox">
            <div className="imgBox">
                <img src= {imgUrl} alt="用户头像"/>
            </div>
            <div className="userInfo">
                <p className="name">{userName}</p>
                <p className="phone">{verifyText}</p>
            </div>
        </div>
    </InforBoxDom>
    )
}
export default InforBox
